<?php

class Acl_Documents_Document
{
	const ENCODING='UTF-8';
	protected $author;
	protected $title;
	protected $language;
	public $text;
		
	function __construct($author,$title,$language,$text)
	{
		$this->setAuthor($author);
		$this->title=$title;
		$this->setLanguage($language);
		$this->setText($text);		
	}
	

	
	/**
	 * @return the $author
	 */
	public function getAuthor() {
		return $this->author;
	}

	/**
	 * @return the $title
	 */
	public function getTitle() {
		return $this->title;
	}

	/**
	 * @return the $language
	 */
	public function getLanguage() {
		return $this->language;
	}

	/**
	 * @return the $text
	 */
	public function getText() {
		return $this->text;
	}

	/**
	 * @param field_type $author
	 */
	public function setAuthor($author) {
		$this->author = $author;
	}

	/**
	 * @param field_type $title
	 */
	public function setTitle($title) {
		$this->title = $title;
	}

	/**
	 * @param field_type $language
	 */
	public function setLanguage($language) {
		$this->language = $language;
	}

	/**
	 * @param field_type $text
	 */
	public function setText($text) {
		$this->text = $text;
	}

	public function showDocument()
	{
		echo "author:".$this->author;
		echo "title".$this->getTitle();
		echo "languge".$this->languge;
		echo "text".$this->text;
	}
	
}